@import '~@/dark_var.less';

.CentralizedTable {
  margin-top: 24px;
  :global {
    .ant-table {
      font-size: 12px !important;

      // 实现5px圆角
      background: transparent !important;
      th {
        height: 28px;
        padding: 0 8px !important;
        // background: @disabled-bg !important;
      }
      td {
        height: 28px;
        padding: 0 8px !important;
        // background: @component-background !important;
      }
      // .selected {
      //   td {
      //     background: #21323e !important;
      //   }
      // }
      .ant-table-container {
        border-radius: 5px !important;
      }
      th:first-child {
        border-top-left-radius: 5px !important;
      }
      th:last-child {
        border-top-right-radius: 5px !important;
      }
      tr:last-child td:first-child {
        border-bottom-left-radius: 5px !important;
      }
      tr:last-child td:last-child {
        border-bottom-right-radius: 5px !important;
      }
    }
  }
}
